package com.dsbj.mp.icardservice.service.attendance;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.dsbj.mp.icardservice.entity.MonthReport;
import com.dsbj.mp.icardservice.mapper.MonthReportMapper;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.*;

@Service
@Transactional
public class MonthReportService extends ServiceImpl<MonthReportMapper, MonthReport> {
	
	public static Logger logger = LoggerFactory.getLogger(MonthReportService.class);
	
	@Resource
	private MonthReportMapper monthReportMapper;
	
	
	/**
	 * 根据monthReport获取monthReport信息。
	 * @param monthReport
	 * @return
	 */
	public List<MonthReport> list(MonthReport monthReport) {
		return (List<MonthReport>) monthReportMapper.findBy(monthReport);
	}
	
	
	
}
